package com.exam.service.impl;

import com.exam.mapper.TypeMapper;
import com.exam.pojo.Type;
import com.exam.service.TypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: 黄星
 */
@Service("typeServiceImpl")
public class TypeServiceImpl implements TypeService {

	@Resource(name = "typeMapper")
	private TypeMapper typeMapper;

	public List<Type> getAllType() {
		return typeMapper.getAllType();
	}
}
